package com.lanhai.model;

import java.util.Date;

/**
 * Srefuel entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Srefuel implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 267223240035726010L;
	private Integer id;
	private Date starttime;
	private Date endtime;
	private String simnum;
	private Date createtime;
	private Sdevice sdevice;

	// Constructors

	/** default constructor */
	public Srefuel() {
	}

	/** full constructor */
	public Srefuel(Date starttime, Date endtime, String simnum, Date createtime) {
		this.starttime = starttime;
		this.endtime = endtime;
		this.simnum = simnum;
		this.createtime = createtime;
	}
	
	// Property accessors

	public Srefuel(Integer id, Date starttime, Date endtime, String simnum, Date createtime,
			Sdevice sdevice) {
		super();
		this.id = id;
		this.starttime = starttime;
		this.endtime = endtime;
		this.simnum = simnum;
		this.createtime = createtime;
		this.sdevice = sdevice;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getStarttime() {
		return this.starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return this.endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public String getSimnum() {
		return this.simnum;
	}

	public void setSimnum(String simnum) {
		this.simnum = simnum;
	}

	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Sdevice getSdevice() {
		return sdevice;
	}

	public void setSdevice(Sdevice sdevice) {
		this.sdevice = sdevice;
	}

}